package com.dequan.springaiproject.entity;

public class Movie {
    /**
     * 电影名字
     */
    private String name;

    /**
     * 电影主题
     */
    private String theme;

    /**
     * 电影概况
     */
    private String overview;

    /**
     * 电影评分
     */
    private int rating;

    public Movie() {}

    public Movie(String name, String theme, String overview, int rating) {
        this.name = name;
        this.theme = theme;
        this.overview = overview;
        this.rating = rating;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "name='" + name + '\'' +
                ", theme='" + theme + '\'' +
                ", overview='" + overview + '\'' +
                ", rating=" + rating +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public String getOverview() {
        return overview;
    }

    public void setOverview(String overview) {
        this.overview = overview;
    }

    public int getRating() {
        return rating;
    }

    public void setRating(int rating) {
        this.rating = rating;
    }
}
